<?php

$email = $_POST['email'];

include("opendb.php");
include("functions.php");

if()
$squery = "select * from Users where Email='".$email."'";
$result = mysql_query($squery);
if(mysql_num_rows($result))
{
echo 1;
}
else
{
echo 0;
}


?>